#ifndef TRAINSTATUSCONTROLLER_H
#define TRAINSTATUSCONTROLLER_H

#include <QObject>
#include "../../view/trainInformation/trainstatusview.h"
#include "../../model/trainInformation/trainstatusmodel.h"

class TrainStatusController : public QObject
{
    Q_OBJECT
public:
    explicit TrainStatusController(QObject *parent = nullptr);
    //列车状态信息
    TrainStatusView *trainStatusView;
    void show(QVBoxLayout *vLayout,int w);

public:
    //设置刹车状态
    void setBrakeIndicator(BrakeIndicatorState state);
    //设置车轮运行状态
    void setSlideIndicator(SlideIndicatorState state);
    //列车完整性
    void setTrainIntegrityState(TrainIntegrityState state);
    //反向指示灯
    void setReverseIndicatorState(ReverseIndicatorState state);
    //车厂/停车场VATC-A无线电通讯状态(IPT通讯)
    void setARadioCommunicationStatus(ARadioCommunicationStatus state);
    //车辆段和停车场的VATC-B无线电通信状态(IPT通信)
    void setBRadioCommunicationStatus(BRadioCommunicationStatus state);
signals:

};

#endif // TRAINSTATUSCONTROLLER_H
